package cn.dancepeak.artcle.mapper;

import cn.dancepeak.article.domain.ArticleType;
import cn.dancepeak.article.query.ArticleTypeQuery;
import cn.dancepeak.vo.ArticleTypeTree;

import java.util.List;

public interface ArticleTypeMapper {
    void insert(ArticleType articleType);

    void updateById(ArticleType articleType);

    void deleteById(Long id);

    void deleteByList(List<Long> ids);

    ArticleType selectById(Long id);

    List<ArticleType> list(ArticleTypeQuery articleTypeQuery);

    List<ArticleTypeTree> listAll();

    void updateState(ArticleType articleType);
}
